package com.study.jvm.byteCode;

/**
 * Date: 2022-10-12 星期三
 * Time: 13:43
 * Author: Dily_Su
 * Remark: 编译后的 class 会默认给加个构造方法
 */
public class ClassLoaderDemo {
    public static void main(String[] args) {
        System.out.println(String.class.getClassLoader());
        System.out.println(ClassLoaderDemo.class.getClassLoader());
        System.out.println(ClassLoaderDemo.class.getClassLoader().getParent());
        System.out.println(ClassLoaderDemo.class.getClassLoader().getParent().getParent());
    }
}
